 <#include "../common/layout.html"/>
 <@layout title1="博客" title2="编辑博客">

 
<div class="row-fluid">
<script type="text/javascript">
//取消编辑
function cancel(){
	location.href = "${basepath!}/admin/tag/list";
}

</script>
<div class="well">
	    <form id="blog_content" class="form-horizontal" method="post" action="${basepath!}/admin/tag/save">
	    	<input type="hidden" name="bean.id" value="${(bean.id)!}"/>
		  <div class="control-group">
		    <label class="control-label"  for="inputTitle">标签名称</label>
		    <div class="controls">
		      <input value="${(bean.tag_name)!}" type="text" name="bean.tag_name" class="input-xlarge" id="inputTitle" placeholder="请输入名称"/>
		    </div>
		  </div>
		 
		<div class="btn-toolbar" style=" text-align:center; margin:0 auto;">
		    <button class="btn btn-primary" type="submit">保存</button>
		    <button type="button" onclick="cancel()" class="btn btn-danger">取消</button>
		</div>
	</form>
		
</div>

</div>
</@layout>